package com.jxpowernode.bitcon.utils;

import com.jxpowernode.bitcon.createBitcon.CreateBitconAdder;
import com.jxpowernode.bitcon.service.btcadder.Address;

import java.io.UnsupportedEncodingException;
import java.security.NoSuchProviderException;

/**
 * @Author: Lixuewei
 * @Email:1410511702@qq.com
 * @Desc: 该类为比特币地址的获取类
 * @Date: 2021/12/13 21:29
 */
public class BTCMess {
    /**
     * 获取比特币地址
     * @throws UnsupportedEncodingException
     * @throws NoSuchProviderException
     * @throws IllegalAccessException
     */
    public void getBtcAll() throws UnsupportedEncodingException, NoSuchProviderException, IllegalAccessException {
//        CreateBitconAdder adder = new CreateBitconAdder();
//        String adder1 = adder.getAdder();
//        System.out.println("生成的比特币地址为："+adder1);
        String s = Address.bitconAdder();
        System.out.println("生成的比特币地址为："+s);

    }
}
